package com.siysoft.tc.base.bean.to;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * The persistent class for the db_pay database table.
 * 
 */
@Entity
@Table(name="db_pay")
public class Pay implements Serializable {
	private static final long serialVersionUID = 1L;
	private int payId;
	private int orderId;
	private BigDecimal payMoney;
	private String payStatus;
	private int userId;
	private Timestamp payPdate;
	private String orderType;
	public Pay() {
	}


	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="pay_id")
	public int getPayId() {
		return this.payId;
	}

	public void setPayId(int payId) {
		this.payId = payId;
	}


	@Column(name="order_id")
	public int getOrderId() {
		return this.orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}


	@Column(name="pay_money")
	public BigDecimal getPayMoney() {
		return payMoney;
	}


	public void setPayMoney(BigDecimal payMoney) {
		this.payMoney = payMoney;
	}


	@Column(name="pay_status")
	public String getPayStatus() {
		return this.payStatus;
	}

	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}


	@Column(name="user_id")
	public int getUserId() {
		return this.userId;
	}

	public void setUserId(int userId) {
		this.userId = userId;
	}
	
	@Column(name="pay_pdate")
	public Timestamp getPayPdate() {
		return this.payPdate;
	}

	public void setPayPdate(Timestamp payPdate) {
		this.payPdate = payPdate;
	}
	
	@Column(name="order_type")
	public String getOrderType() {
		return this.orderType;
	}

	public void setOrderType(String orderType) {
		this.orderType = orderType;
	}
}